licenses(["notice"])  # Apache 2.0

package(
    default_visibility = [
        "//learning/tfx:__subpackages__",
        "//tensorflow:internal",
    ],
)

load(
    "//tensorflow/core:platform/default/build_config.bzl",
    "tf_py_clif_cc",
)

tf_py_clif_cc(
    name = "xla_op_registry",
    srcs = ["xla_op_registry.clif"],
    pyclif_deps = [
        "//tensorflow/core:framework/kernel_def_pyclif",
    ],
    deps = [
        "//tensorflow/compiler/tf2xla:xla_compiler",
    ],
)

py_library(
    name = "xla",
    srcs = ["xla.py"],
    deps = [
        "//tensorflow/compiler/tf2xla/ops:gen_xla_ops",
        "//tensorflow/compiler/xla:xla_data_proto_py",
    ],
)
